//
//  GSStrategyHeaderView.m
//  GameSky
//
//  Created by lanou on 16/1/11.
//  Copyright © 2016年 NiRongfei. All rights reserved.
//

#import "GSStrategyHeaderView.h"

@implementation GSStrategyHeaderView

- (instancetype)initWithFrame:(CGRect)frame
{
    if (self = [super initWithFrame:frame]) {
        // 夜间模式
        self.dk_backgroundColorPicker = DKColorWithRGB(0xffffff, 0x343434);
        
        self.searchBtn = [GSBorderButton buttonWithType:(UIButtonTypeCustom)];
        self.searchBtn.frame = CGRectMake(10, (kHeight - 30) / 2, kWidth - 20, 30);
        self.searchBtn.titleLabel.font = [UIFont systemFontOfSize:15];
        [self.searchBtn setTitle:@"搜索" forState:(UIControlStateNormal)];
        [self.searchBtn setTitleColor:[UIColor grayColor] forState:(UIControlStateNormal)];
        [self.searchBtn setImage:[UIImage imageNamed:@"common_Icon_Search_20x20_UIMode_Day"] forState:(UIControlStateNormal)];
        [self addSubview:self.searchBtn];
    }
    return self;
}

@end
